remove hard code flag position, do it in css instead