add slider copy and paste function