bootstrap pagination for students

the migration modified here needs to be like that for heroku. but won't
work with sqlite, change if need while developing but dont commit those
changes