added flip state to hero