adding support for hiding/showing message pane