Added buttons to gallery