parameterise number of recent touches to remember