twist panel component js