make message box horizontally scrollable

This pullrequest fixes issue #281 by making the message box horizontally scrollable.