Implement double tap to sleep on navigation bar