Added Motion detection and Touch Control Events