Updated with window resize event and readme