remove the unused swap widget