Modified fd-slider to allow dynamic creation of the polyfill

This is only needed until https://github.com/freqdec/fd-slider/pull/50 is merged in