Open and close animation for metro style panels