Some fixes for fullscreen mode and gesture navigation

Change-Id: I8ecfbc593d232db4135d1bc6ab48df7904caaa75