Fix change of tabs when swipe 'device' and 'scanning' views