started some of the gallery ui
adding pagination