feat(resizer): Double click on resizer to adjust size width to content

This also add support of undefined value to api.side.setWidth(width) to fit to content.