Styled the message div and implemented auto-scrolling