/**
 * Scroll to y = variable position in the screen
 */ export default function scrollToPosition ( yPosition ) { ( document . scrollingElement || document . documentElement ) . scrollTop = yPosition ; }