fiddling around with displaying and highlighting the right menu items