Function that shows de items before and after swapping them