added component rotation to display line