fix scroll content after frame changed