initial pagination setup
pad the loading gif
fix new post auto updating
fix thread length calculation
re-factor pagination and fix bugs
Merge branch 'pagination'