add window resize event handler
change the parameters of app.intersectObjects() from clientX/Y to offsetX/Y
add DEMBlock class (follow up f44b471)