framework: ElectronBeam get some love (1/2) - Port from SlimBean

Change-Id: Ie4ab1de28e5063f5b9f6082e0fdb58fd70989ba9
SystemUI: avoid NPE when no toggles are set

Change-Id: Idc3fe5b43f545fed51f33b06fb5888fb5e226b7a
Signed-off-by: Roman Birg <romanbirg@gmail.com>
disable panel swipe for traditional toggles

Change-Id: I12ed308f28e37998b473a42fdcefb93f4423916d