Use .closest instead of .parents to also check the targetView itself when finding z-index
v1.0.1