Made spell and item menus account for "back" options