changing line layout