Set lightbox height:100% only if adaptHeight is set

In getMaxContentSize lightbox sets overflow:hidden before calculating
and therefore it calculated a wrong height because of height:100%. The site
also lost its scroll-position.
Merge pull request #205 from Ben-Ho/3.7-lightbox-form-scrolling-bug

Set lightbox height:100% only if adaptHeight is set