HACKING - make prev/next buttons work