Fixed bug for slide positioning. showSlide() was firing before resize() which messed up the CSS.