changes made to enable orientation lock (pending askUbuntu answer)