Update navigate.js

The very first page shouldn't be added to the history because this causes the check for history length > 0 in nav.back to always return true and the back button behavior on Android is broken.