implemented screen size variables