updates to the orientation/resize script, and to the swipe function to allow normal scrolling on the slider