changes for 24.4
toggle mode line, learned from stackoverflow