fix no-scrolling bug