Added a check to see that begining and end of range was withing the content div
Added a check to see that begining and end of range was withing the content div

EivindEE/Madame,EivindEE/Madame,EivindEE/Madame