removing deprecated function
Adding Bootstrap pagination capability