appHeight and appWidth max