init flip and slide