change to use screen width and height