Move refreshSwatch call to after slider initialisation