That is one aspect of bolt timing. The nose of the cocking piece must be clear of the cocking cam or the bolt body, when the striker is in the fired position. If it hits the off-side side of the cocking cam notch, the bolt handle will jump up. If it is hitting on the cam side, the handle will be pushed down. GD