convert CI on workout and add pagination on (workout & gallery) page