* Updated paginate feature to only display necessary amount of numbers