add image slider js files and update layout templates