Fixed #19224 -- Doc version switcher CSS quickfix and JS enhancement

Ticket: https://code.djangoproject.com/ticket/19224

While this also includes the quick-fix from https://github.com/django/djangoproject.com/pull/48, it also adds an extended version for browsers that have Javascript enabled.