Tweaked the menu collapse function

Made it collapse by width of menu instead of set amount