Default value for resetting setHeightOn attribute

In your version you always set the value of the setHeightOn attribute to 0. When using 'height' for example the calculation is wrong of course. I added an option 'defaultVal' for setting the default value of the 'setHeightOn' attribute.