Moves navigation logic from main.js to new component #8205

Merged
merged 1 commit into from Apr 12, 2017