added .next() function at client side for easy theme switching.