put chat input on proper side of messages