register for resizenotifier