state based left menu