Fixed passing of options to slider