moved CSS swap script