New feature let range x be a percentage of the el

Also added feature to keep element within the bound of the
width/viewport. This so that we don't show the background behind the
element when moving around a large image.