template cleanup
added rotate plugin