Bug 989361: better swipe handling for switching items in preview