towards having the view toggle work...