Moving pagination outside of post container.
renaming route