fixing nav breaking in mobile