add loading spinner to posts