Fixed error where picture slides cannot be clicked more than once