Snaps scroll position to the topmost visible element on orientation change