updated example removing setZIndex()