Fix dropdown menu toggling