Implement home photo slider for onclick