Added gesture to NavBar