Add remaining lines to layer and visibility change