Fixes some issues with the bootstrap slingbar and flyout sidebar
(cherry picked from commit 1fb77e7)