fixed bug with menu buttons and toggling css highlight classes