How to create a carousel

i want to create a carousel with the active item will get the largest and smaller surrounding item like this ! image|358x158 . How do it ?