Added drag functionality to bar charts