add pagination in paintings