different approach
add resize button
call resize after expanding