init slider basics