forgot to add JS function finalPageSnapToBottom