width and height variables are created randomly every three seconds