Added animation in transition of pages.