iOS-like jiggling icon

HTML

<div id="app" class="clickable"></div>

CSS

body {
    font-family: arial, sans-serif;
    font-weight: normal;
    height: 600px;
    width: 800px;
}

.jiggly {
    -webkit-animation: jiggle 0.2s infinite;
    -moz-animation-duration: 0.2s;
    -moz-animation-name: jiggle;
    -moz-animation-iteration-count: infinite;
    -webkit-transform: rotate(-1deg);
    -moz-transform: rotate(-1deg);
}

.jiggly:before {
    background-color: #222;
    border: 2px solid #fff;
    -webkit-border-radius: 16px;
    -moz-border-radius: 16px;
    border-radius: 16px;
    -webkit-box-shadow: 0 0 3px #333;
    -moz-box-shadow: 0 0 3px #333;
    box-shadow: 0 0 3px #333;
    content: "x";
    color: #fff;
    display: inline-block;
    font-size: 26px;
    position: relative;
    left: -13%;
    top: -10px;
    width: 30px;
    height: 30px;
    line-height: 26px;
    text-align: center;
}

.jiggly:after {
    position: relative;
    left: 52% !important;
    top: -10px !important;
}

.clickable {
    cursor: pointer;
}

.clickable:hover,
.clickable:active {
}

#app {
    /*background: -webkit-gradient(linear, left top, left bottom, from(#03426a), to(#65a6d1));*/
    background-image: url('http://dl.dropbox.com/u/13240406/images/ios-5-icon.png');
    -webkit-border-radius: 16px;
    -moz-border-radius: 16px;
    border-radius: 16px;
    height: 114px;
    width: 114px;
    margin: 0 auto;
}

#app:after {
    background: -webkit-gradient(linear, left top, left bottom, from(#f08139), to(#b70815));
    background: -webkit-linear-gradient(left top, left bottom, from(#f08139), to(#b70815));
    background: -moz-linear-gradient(top, #f08139, #b70815);
    border: 2px solid #fff;
    -webkit-box-shadow: 0 0 3px #333;
    -moz-box-shadow: 0 0 3px #333;
    box-shadow: 0 0 3px #333;
    -webkit-border-radius: 16px;
    -moz-border-radius: 16px;
    border-radius: 16px;
    content: "1";
    color: #fff;
    display: inline-block;
    font-size: 22px;
    height: 30px;
    line-height: 30px;
    position: relative;
    left: 82%;
   ...

JavaScript

$('#app').click(function(e) {
    $(this).toggleClass('jiggly');
    return false;
});

$('body').click(function() {
    $('#app').removeClass('jiggly');
});