Added option to disable client side resizing