Implemented row collapsing panel

for some reason uncollapsing doesn't work