resize with and height on instanceready event