make navbar and gallery on index page desktop and tablet only