ui fixes for mobile, added handling of back button and menu