updated a library for photoview