adjust the number of visible screens on window resize
fix next/previous wrapping detection
up version