make swipers' height dynamic, setting according to the device and orientation