Smarter custom navigation