make homepage slider adjustable with an object