Merge "Move rotation bounds calculation into SysUI"