Merge pull request #11 from gdi2290/master

update
fix toggle of views in controller