Format slider in correct file