added the onresize event for dropbill