regeression line and toggle buttons