added button to enable automatic position control