Fixed touch logic in particle demo