adjust top nav for mobile devices and tweak photo gallery