setup cross domain resizing via postmessage