fixes nav and media queries for tablet