refined progressbar, fixed display bug in imageview