making an activity indicator bar