added animal selection event to view