fixing broken nav on tablets