Mimic style and animation method of nprogress

@zackbloom