slider getRatio fix when the pictures share the same size
slider regex transform3d error fix