fixed nav code, fixed inconsistency with master media query