Fix missing resize method
Remove jQuery.transit and use CSS3 directly