matrix is made as a runtime object and squares on mouse hover are popped up