Fix post deletion bug

There was an ajax error with the way posts were being loaded, this fixes that.
Fixes #231 

Also modified the loading image css to fix any problems with having multiple loading images in the same page