chaning width on panel for ios devices