correctly highlighting visible area