don't allow resize less than 10px