added buffering to carousel

It now preloads only 5 slides which makes the loading much faster