Use different layout if navbar is not needed