adjust size for chat messages