added go back functionality in libraries/view part