adds Kaminari pagination and fix bug with selecting rows after a search