moved slider in external file