It is illegal to idle or loiter anyplace within the corporate limits of the city for the purpose of flirting or mashing.