Fixed issue with autoresizing height

Allows fold view to resize height on as well as width.