changing stackpanel to grid, altering sequence of animation