gallery-scrollintoview Module
Only scrolls if the object is not currently visible.
This requires that all scrollable elements have position:relative. Otherwise, this algorithm will skip over them with unpredictable results.
This module provides the following classes: