when we change device orientation calculating dot animation is not correct
when we change device orientation calculating dot animation is not correct