Simple gallery on pure JS