first rotate on diagonal then horizontal