Parallax Demo: Code clean & update map offset after window resized