Fix and improvement

- Fix outerHeight to outerHeight(true) to include margin.
- Add parent and self resize auto update.