How to prevent this shaking