added full width mode and adjusting width mode.
enabled legend dragging without first click.