add ONPAGESIZECHANGE events