update progress position after changing top margin

If top margin is changed dynamically progress doesn't change position until `onLayout` be called