rework line class

make the base class consistant for toggling css effects