fix home page pagination. Fixes #54