had to add show and detach events to tell view when it is actually in the dom, to allow view to listen to window resizing