make sibling browser open upward when too close to bottom of window