added better previous and next links in will paginate