added support for pagination of historical views to faster loading and easier viewing
updating for bootstrap 3 layouts and the new theme