add gesture control (right swipe to close activity)