Moved to using orientation sensor in library project