added the feature of auto map reset on single tap