Bug 828966 - make cost control widget listen to resize event to
correctly position itself in landscape mode. r=lodr, a=vingtetun