add function call to masonry in team page