Fixed some bugs with mobile view and ordered messages to show most recent lastMessage