fixed thumbnailing bug
a little more pagination whatnot