Fixed bug with slow loading slider