Fix scrolling in the flexbox layout