changed handler for the progres and volume bar