adjust popup dimensions