image (down)scaling according to display size