parent class and screen dimensions