Open and close animation of metro style panels