disabling resize animation logic moved to layout manger, and use setter method instead.(previous disable method not working now).