handle menu transition, clean up unwanted stuff