add Animation for MainView