Update timing of create post background animation, to wait for successful AJAX request