Moved menu navigation functions to new file.