Recalculate less when markdown is updated or view is rotated