made use of screen size macro