port of jQuery UI responsive tabs