two ways for finding screenSize