remove margin if navbar is hidden