add loading gif for posts