add some code in slide page