Abstracted out the fade timings and smoothened the animations.