Class for easier use of slider autoplay