This is because the original width of the header is very large, and chrome doesn't seem to update the calculated width at the end of the animation (it does update correctly on safari, and may be a bug in chrome). When you resize the window (which opening dev tools will do), chrome then calculates it correctly.
To fix it though, and to also stop the scroll bars appearing at the beginning of the animation on all browsers, have a look at this edited JSFiddle
Basically, I've wrapped the header into a div, and set overflow hidden on the div:
<div class="bounce-container">
<h1>bounce</h1>
</div>
.bounce-container {
overflow: hidden;
}