move navigation into a smarter partial