added scrollpane to messages