edited gallery buttons