reworked slideshow floating and resizing