Floating style tab navigation using query