Fixed transitions on gallery

added fade ins and outs.