LPS-34453 paginate structure web content

Hey @eduardolundgren here is my rebased branch. I even made some logic improvements. Here is my screen recording of usage: http://cl.ly/image/0O40153h3p04.