responsive-tabbed template query selector fixed, but perfect resize doesn't always happened after window size changes

Signed-off-by: Galen Vinter <galen.vinter@gmail.com>