Gallery controls fix

- Make them into <button>'s instead of <a>'s so it doesn't display the
stupid nonesense url.