opacity changed to future and past slides