Added a attribute y for when rendering the bars.

This makes the bars animate upward instead of down. This animation looks more natural.