minor preperation for slider