Added "preload" option. If set to true gallery preloads each slide before
show it.