Updated ItemFrame page flip

[BUGFIX] Strange behavior when switching pages from itemframe.