Add removeTile function to masonry direcitve.