creating progres bar for uploading to facebook