added maxheight styles