add view toggle