Update resizehandler.js

added min and max values