Solved rotate list problem.