some edits to formatting
basic gallery fucntionality