changed code for responsive design

added window.onResize event listener instead of continuous resizing ~ line 106
previously fixed selectable text in title screen
optimized snake food check

food check now first checks y axis of each segment, and only if y axis of food matches a snake segment, that segment's x axis
cleaned appearance of some code
food initialize and snake initialize are now part of function gameRestart, and not loaded when page is first loaded