added ability to select between hover or click