Fixed #360 - dynamic slidebox sizing