Replace getElementBy with querySelectorAll to shorten and simplify the code.
Replace getElementBy with querySelectorAll to shorten
and simplify the code.

Add some comments to explain each function.

dennisschipper/responsive-dropdowns,dennisschipper/responsive-dropdowns