added line rotation to linejs