now resize works onload too
Merge pull request #83 from Boned-777/onloadresize

now resize works onload too