Fixing transition in buttons module