added vertical and horizontal markers for cursor