implement screen size getter