add animation when changing views in main menu items