Revert "Revert "Gui otation""

This reverts commit a71726ee160ab840125f1171d3a7ad745212463e.