resize correctly flags icons