fixed onclick event for vertical menus