Bug 1100295 - Implement navigation logic. r=crdlc

I tried but it was not working for me. Keeping this.