menu and page transition fix