trying to make markers bounce when legend clicked, but still not working