public boolean canMoveForward(){
  return currentIndex >= 0 && currentIndex < (history.size() - 1);
}

public boolean canMoveForward ( ) { return currentIndex >= 0 && currentIndex < ( history . size ( ) - 1 ) ; }
return true if there is a previous url in the list relative to the current position .
