The Galaxy S4 had something like this, except no one (other than the Samsung apps) implemented the functionality to make use of it.
In the end, all I can remember of it was that you could wave over the top of the screen to change home screens, and see a little light ball would move around on the lock screen when you moved your finger over it.