Slick CSS didn't work. Attempting to create my own javascript to solve this issue