trying to fix nav bar in medium view