The cloud images are up to 329 px high, which mean that it will be hard to fit them under 300 px. But make the images a little smaller, ie max 200px high and then change the variable
wind_h=100;
of the init()
function.
The clouds will then extend to be max 100+200 px from top, with a vertical movement from 0-100.