fixes bug with settings on navbar on small screens