reverted changes in background.js related to position saving