Removed padding opt. Better doc height function. Added option to only do this on content resize and not on load