fixed slider progress bar issues and wait until all posts are finished before triggering callBack