added listeningQueue z-index sort