added force option to the updateHeight function
improved document.measureRect
a lot of fixes and improvements
update demo