Improvements to dropdown menu and submenus for both mobile and PC views.

Docker-DCO-1.1-Signed-off-by: O.S. Tezer <ostezer@gmail.com> (github: ostezer)
Merge pull request #5168 from ostezer/mkdocs-improve-dropdowns

Improvements to drop down menu and submenus for both mobile and PC views.