fix for image jumpiness

You can see the bug here: http://codepen.io/laurendavissmith/pen/prcHg

And this one shows it with the fix: http://codepen.io/laurendavissmith/pen/eJfmk