Ionic 3 slide pages-dots

Hi there, i m very new on ionic and i have a problem. i have a slide but i want to change dots according to image size.i mean if imahe height is 100 px dots has to move down. but if image size is 50px dots has to top. i hope i could tell my problem.

so dots have to move top and down according to slide image size.