Implemented slider for the main page with plain jquery