closes #12: fix highlight on resize