dealt with screen re-sizing