Fixes #5 and fixes #6

Also enhances ajax transitions.