Resize the blockly ui on window resize