Changed img width/height scrubbing function