use jQuery plugin for pagination