adjust dimensions of popup