Adding animated progressbar