modification to menu partial to check for existence of temp_menu