Changing script to account for negative margin on #container