If you follow the recipe instructions closely, your gluten free cake shouldn't sink. Be careful to add the egg yolks one at a time and beat only until they are blended in. Don't beat the batter longer than necessary. Then, bake the cake right away as soon as you have beaten the batter and spread it into the prepared pan.