See the Pen Custom Behavior by soritesparadox (@soritesparadox) on CodePen.