swap view/toggleview