Rest the location of the fraction bars

I am trying to figure out how to reset the fraction bars to their original location when the student presses a button. I’m stuck.