added a button to turn auto tail on/off