flip animation works on all browsers