add flip and shake action