right window edge detection/handling for dropdown