add pagination and limit the number of pins per page to 8