fixed add bars for multiple bars
refactored animation finished animation