fixed startline, turned invertDisplay into pseudo toggle