Something similar happens to me but I can't find the solution, I look at the answers above but it doesn't work for me, also the scrolling and tabs get buggy sometimes, I don't know how to make it look more fluid
https://codepen.io/Front-end-Dev-the-looper/pen/yLWPEoK