Setting scrollbar-width to none does the trick in Firefox. While in chrome you will have to use ::-webkit-scrollbar selector and make display type none.