update swipe view to account for ng repeat