changed navigation to go via window.event