Fixes #1410

Fixes the horizontal scrolling of the page when scrolled and mouse navigating or keyboard navigating to a drop down.