use container.height()/widht() to adjust size