Read height befor setting css transition. If we dont, the height
*can* be wrong. (it occured when the af scroller has a long list to
scroll)