Fixed bookmarks and history being reversed