add animate and pagination