This lessons covers my recommendations on how you can start connecting scale/mode shapes to improvise guitar solos horizontally, instead of just being confined to one area of the fretboard.
Here's the backing track used in the lesson: https://www.youtube.com/watch?v=Co7udnWoPSQ
Here's the site used to generate scale shapes in the lesson: http://www.all-guitar-chords.com/guitar_scales.php?qqq=FULL&scch=G&scchnam=Major&get2=Get&t=0&choice=3