set active nav and add title