regain focus on main screen when context is open, swipe right to close context, back button closes context, trim whitespace on urls