Fixed horizontal scrolling bug