fix #915 Disable horizontal scrolling when panels are open

This should probably get some secondary thorough testing.