rotate for the line