app preview is gone, so resizing code is now commented out