handle likes in pagination