Cleaning up some code and removed annoying border around pagination div