Fixing alignment issues in discreteBar.js when lines are added