bugfixes for responsiveness to window resize, data filtering