grid rotation now works