write visible area in header