Enable dropdown smart positioning to always be displayed inside the current window viewport

Dropdown will try to honor chosen align setting, unless the resulting position makes part of the dropdown content to be outside of chosen bounds. In that case, the alignment will be automatically update to make the whole dropdown visible in the chosen bounds.
Bounds setting "window" will display the dropdown in the currently visible document area, ensuring the user does not need to scroll to see the dropdown.
Bounds setting "document" may force the user to scroll to see the dropdown.
Bounds setting "container" uses the closest parent with attribute "data-dropdown-container" as bounds which is useful for complicated layouts with floats for example.
Turn this behaviour off by setting the "bounds" setting to anything else than "window" or "document".