Layout change and animation on right panel