updated swipe to entire window