move left and move right in message window