slider template initialized