Create ImagePlayer.js

a player of images, you can switch to any page with sliding or opacity changing effect.