pop up menu toggling fixed