swapped view and toggleview keys