fixed messagesView and addWidget in scrollbarCanvas to display chat history