manly fixed flipping error in safari. changed the style sheets and add some -web-kit, transitions