Fix progressbar in chrome and safary