refactoring
full refactoring; added thumbnails panel and button "Prev."