Resize wizard if advanced options are required

Fixes #1130