optimized viewer navbar on mobile