fix bug with mobile navbar