implement minWidth and minHeight options (code from Cerdic fork)
Merge in minHeight and minWidth support from https://github.com/makandra/colorbox