resize frames width and heigh