add the possibility to hide navbar