changed swipes to occur only when starting from the left/right edges of the screen