refactored a lil bit better to work work with CSS3 transitions, moved Header & Footer logic to own view