Added slide loading mechanism