Rewrote animated header in jQuery