update to open book in last page and other small behavior