menu not selecting item when browser refreshed