fit slides to screen dimensions, instead of hard coded