added triggering of resize event when height changes + added some simple tests
remove DOM logger, using console.log
ready for PR