x y scaling using width and height params