sliderfunctionimplemented from http://www.slidesjs.com/