Added animation and header resize