added a linear scaling function that takes the current position of a sur...

...face/view, and the lower bound and upper bound of the section to be scaled