respect animated parameter for documentation panel resize