added controls for rolling back and forth