Example to both increase and decrease the value of a progress bar