Store the last view page no. of the thread to the database.

Store the last view page no. of the thread to the database, so that the last read page will be automatically displayed when user re-visit the same thread.