Added goBack / goForward and correct behavior when using them.