Set loading.gif while posts are loading