added window resize and rushHour bug fix.