Change slide images
Cleaning up the code