Fix mobile sidebar opening when scrolling on some browsers.