fixed scroll after callback bug