Corrected a bug causing the modal to behave abnormally with shrinkToFit on long webpages.
Optimised shrinkPadding rendering.
Added informations for future developers who might want to work with this code.
Merge pull request #6 from clarkwinkelmann/master

Bug correction about the shrinkToFit feature