Implemented view nagivation.