Extended Out of Window Detection

When the viewport is physically too small to hold the options without going outside the viewport the max-height is changed to accommodate.

Tested in all modern browsers and IE 10,9,8 and 7 with no known errors
Merge pull request #131 from TehCanadian/master

Extended Out of Window Detection