Added options to resize with minimum width and minimum height
Added options to resize with minimum width and minimum height
Fixed variable error