changing from refactor file and getting controls to resize in periphery