added transition and rotated bar
corrected y