fix for centering slides without resizeing