Adjusting the size of the viewing screen code