left menu logic