Changed image width/height scrubbing function