inline-expanding.js: positioning on expand