add changing image by moving slider