fixes for the collapse plugin (CSS and Javascript)

add CSS for collapsing over width, fix collapse plugin to use innerWidth instead of innerHeight in the hide function when collapsing over width