Adapted custom zoom slider styling to change in JavaScript API