a controller to control slideshow slide among different device based on socket.io