More attempts at getting pagination working.. sucks ass