Allow correct setting of active slide through parameters