add some code main slaider derictive