attempt to fix first load slider by changing slider initialization