style navigation for medium and small devices