Added 'afterLoading' and 'afterTimeout' options to have more tools available to resize the heights when dynamic content is present.