first implementation of showing coordinates on hover