dynamic calculate the height for happening cell