Implemented scaling to screen