use correct detection of the left menu