Revert "Revert "floating window""

This reverts commit 0ca31ab652965107b5098cba1168369830f58d62.