resize image update app layout