fixed scroll update bug