add ui elements toto main image viewer