added effect of animation of pages