Code refactoring in header block
Delete some code duplicates in header
Add logo animation