adding mobile pagination to theme and fixing a few other things
Merge branch 'mobile_pagination'