double timeout solves resize problem for many buttons