hiding image instead, resetting curMap to -1