added maxheight popup