Fixed bugs. Lots of fixes with CSS transitions.