adding support for automatic slider and pause on hover