unaccurate commit ot find how to catch rotation event