fix horizontal scrolling issue