started slider based on prototypes, with same logic pattern as my previous one for pagination.