When your forks rock under braking the headset bearings are not torqued to spefications. The way to check for this is to apply the front brake and rock your bike back and forth. You should feel no movement and hear no clunking. Take your bike to your local shop and have the headset checked. This condition is dangerous and should be fixed as soon as possible