Apply touchactive for mouse and touch