We can use an already built library to do so.
Interested developers can answer this post.
Dear Friend, I've reviewed your job description and came to conclusion that I could help you building this image slider. Please open chat for more details. Thanks.