Dynamically resize icons based on panel height