change

screen.width to 500
screen.height to 510