rearranged database window