Responsive fixes

Fixed responsive bugs.
Removed header code duplication.