Transition for ajax pagination