reverted some CSS transition code because it looks like WebKit is broken