Rewrote slideshow widget in Dart