Added 'pagechange' event support for right/bottom-aligned content.