added jquery fliipy to events