fixed the problem with the appendItem function where it move container scrollPos to far down