getting will_paginate to work with bootstrap 3