Added dynamic height for next events