Fixed gallery and thumbnail positioning