making positioning no longer dependent on static height in script.