Added full working pagination and refactored it into an HtmlHelper extension