This is a young seagul (Larus argentatus), in norwegian commonly called "Gråmåke" bending its neck to preen/clean its feathers with its beak.
It does this to maintain the feathers ability to repel water.
Quite important for a bird that spends so much time swimming on the ocean