added some additional resize rules