set css transition with js
repeat slides if REPEAT is set true
add lastPage function
set overflow hidden
add initCSS function