The reason for having your banana bread sink in the middle as it cools is not to cook it long enough. Make sure you bake the banana bread until a toothpick inserted in the middle comes out clean, without any trace of a cake batter.