addded animation to the main menu