Pagination fix

Adds support for Pagination and upgrades Bootstrap to latest version.
Missing docblock.