align flag to top