backward and forward buttons now are computed automatically.