gets the LCD dimensions