Fix scrolling bug in chrome