Arrow moving to next page instead of next post