When mouseup event is fire on array elements then mouseOver(p) function will call and display particular element below on which event is fire.
mouseup
mouseOver(p)