a simple image gallery ui widget