boh, prova facendo screen.avaiWidth e screen.availHeigth
poi non saprei...