Adds position sensing an auto re-opening.