fixing toggle actions for touch