remove the horizontal scrollbar by set scrollOffset value