Add a resize method on orion widget