workaround for  view/navigation_type

This was not working when adding portlets
Merge pull request #30 from espenmn/master

workaround for  view/navigation_type