How to make slides such as story of snapchat?

#1

I’m trying to make something like story of snapchat with slides

image example:
Capture

but i have small problem when I swipe to the end of slides, my design shown such as this:
Capture

Here my html code:

<ion-slides style="height:auto; width:100%;" spaceBetween="-15">
		<ion-slide style="padding:15px; padding-bottom:0px; max-width:95px;" *ngFor="let s of slides" >
			<div style="">
				<div style="margin:0 auto; width:65px; height:65px; border:1px solid black; border-radius:50px; background-color:green;">
				</div>
				<p text-center style="font-size:13px;">{{s.title}}</p>
			</div>
		</ion-slide>
</ion-slides>

Note: I don’t want to make specific number of slides per view by using "slidesPerView"

#2

I got the answer LOL

<ion-slides style="height:auto;" spaceBetween="-15" slidesPerView="auto">
		<ion-slide style="padding:15px; padding-bottom:0px; max-width:95px;" *ngFor="let s of slides" >
			<div style="">
				<div style="margin:0 auto; width:65px; height:65px; border:1px solid black; border-radius:50px; background-color:green;">
				</div>
				<p text-center style="font-size:13px;">{{s.title}}</p>
			</div>
		</ion-slide>
</ion-slides>