svg line cleanup, pagination