randomly rotate blocks