addresses Issue #2 and Issue #3 and gives variables better names

Issue #2 - Solved the problem of having the ad-box appear at a percentage instead of 800px
Issue #3 - Solved the problem of the arrow direction when clicked now making it always show the direction it will go on.click
Variable names have been given more clear names