simplify prev_menu operation