swapping view half done