different way to do history.back
fixed backwards navigation