use swipe motion to navigate file chooser so that back button can be used to return to home activity