Fixed some bugs

Fixed a bug that caused it not to auto scroll to the most recent
message, also fixed a bug so that the keyboard doesnt hide messages,
finally fixed a bug that causes messages to be highlighted when clicked