Fixing glitches in pull down menu logic