Using CSS3 transitions

Fixed some height bugs, cleaned up code, added css3 transitions