quick fix for initial display of all cards in the slider and overflow
moved the controls functionality to slider class in lib.js