Update line.html

Add code for css class and toggle