Updated dropdown flip and stack behavior