Working history functionality.
Back and forward working. TO DO:forward and history on speech input.