active states on navbar implemented and home view changed to generic view