Added functionality for horizontal scrollbar in bar graph.