add constraints to loan list view, detail loan list view