resize layout pic