Debug: made it able to rotate display