Reimplemented dynamic height