refactor swapscreen()