Reversible Photoswitching Position-Dependent Rupture Force