fix(index.js): fixed secondary nav event handler