added navigation with history