style and transitions for left and right parts