Disable/enable page buttons in blueprint library

If there are no pages to go back to or to, according buttons will be disabled.
If there are pages, then the button will be enabled.