Implemented global resizing action, which works fine with the resize-handle. Modifying now element methods to all use this global method.