let me try to explain again (maybe I wasn't clear)
when you turn on the phone, let say after reboot
you get screen - I call this main screen
when you scroll right / left from that screen I wish to know that so I can hide my floating window
when you click on "Candy crash" (for example) I wish to hide my window, but when you exit it, and you back to main screen, I wish to show it