added state and scroll one messages