trim down photoswipe library