Making cursor animation more natural (mimicking the Terminal.app on OS X)

Demo: http://codepen.io/ArtemGordinsky/pen/GnLBq