Make the go to last move button work properly