working on resize()
refactor resize()
resize options match_ratio, scale.