Change max-height function to take into consideration any padding applied to the DIV container
Merge pull request #102 from oceanexplorer/master

Change max-height function to take into consideration any padding applied to the DIV container