Animate the sub-header from left to right and css changes