fix smart scroll on posts with gists