Assigning listener to the parent div as well