add event listeners for hover, assign variable names to layers