Fix elastic scrolling in Flow