implement drag slices of picutres