add config object to slider js
add show/hide menu