Swipe improvement: Keep current slide consistent when changing device orientation

If a user is on the second slide in portrait mode, he will still be on
the second slide when he switches to landscape (and vice-versa)