Added animation to paging control