added refreshOnResize attribute - window resize event listener

Be aware not to override the version in bower.json