removed the resize function, css does this automatically now