updated pages to html
fixed controls on gallery