automatically reduce height of #all div