grazie ma ho risolto mettendo un
history.back()