Fixed gallery position and scripts.