Reposition on window resize; minor bug fixes and enhancements