fix to do scrolling demo