Change sections attached properties atomically.

section, previousSection and nextSection attached properties usually
change together and are are often used together in an expression. Having
them change one at a time results in multiple re-evaluations with
differing results. This can be easily avoided.
Merge pull request #5 from martinjones/master

Change sections attached properties atomically.