add next and prev msg