finish flip up picture according to click